<ion-modal-view>
  <ion-header-bar>
    <h1 class="title">请选择章节</h1>
    <div class="buttons">
      <button class="button button-clear" ng-click="closeselect()">确定</button>
    </div>
  </ion-header-bar>
  <ion-content>    

    <lu class="list">
      <li class="item item-checkbox" ng-repeat="chapter in modalData.chapters " class="icon" ng-click="check_buy(chapter)">
    		<label class="checkbox">
    			<input type="checkbox" checklist-model="modalData.select_ids" checklist-value="chapter.ichapterid">
    		</label>
    		{{chapter.cchaptername}}
      </li>
    </lu>

  </ion-content>
  <div class='bar bar-footer'>
    <div class="button-bar">
    <a class="button button-clear button-calm" ng-click="selectall()">全选</a>
    <a class="button button-clear button-calm" ng-click="clearselect()">清空</a>
  	</div>
  </div>
</ion-modal-view>>
